from django.db import models

# Create your models here.
from meiduo_mall.utils.models import BaseModel


class OAuthQQUser(BaseModel):
    user = models.ForeignKey("users.User", on_delete=models.CASCADE)
    openid = models.CharField(db_index=True,max_length=64)

    class Meta:
        db_table = "tb_oauth"
        verbose_name = "QQ用户"
        verbose_name_plural = verbose_name
